package com.taichuan.selfcheck.persistent;

/**
 * 该类主要用于
 *
 * @author CamelLuo
 * @version 2020/1/8
 */
public class PersistentManager {
    private static final String TAG = PersistentManager.class.getSimpleName();

    private String cloudPlatformUrl;
    private String iotSdkTcpUrl;

    private PersistentManager() {

    }

    private static final class SingletonHolder {
        private final static PersistentManager instance = new PersistentManager();
    }

    public static PersistentManager get() {
        return SingletonHolder.instance;
    }

    public String getCloudPlatformUrl() {
        return cloudPlatformUrl;
    }

    public void setCloudPlatformUrl(String cloudPlatformUrl) {
        this.cloudPlatformUrl = cloudPlatformUrl;
    }

    public String getIotSdkTcpUrl() {
        return iotSdkTcpUrl;
    }

    public void setIotSdkTcpUrl(String iotSdkTcpUrl) {
        this.iotSdkTcpUrl = iotSdkTcpUrl;
    }
}
